package com.ks.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ks.common.PageResult;
import com.ks.dto.PageQueryDTO;
import com.ks.entity.Rule;

public interface RuleService extends IService<Rule> {

    PageResult pageRule(PageQueryDTO ruleQueryDTO);

    void addRule(Rule rule);

    void deleteRule(Integer id);

    void updateRule(Rule rule);
}
